package com.bing.e228;

public class ThreadA extends Thread{

	private MyObject object;
	private Service service;
	
	public ThreadA ( Service service,MyObject object){
		super();
		this.service=service;
		this.object=object;
	}
	
	@Override
	public void run(){
		super.run();
		service.methodA(object);
	}
}
